home *** CD-ROM | disk | FTP | other *** search
/ Trading on the Edge / Trading On The Edge - CD-ROM Toolkit (Wayzata Technology)(2031)(1994).bin / mac / Mac_Files / Vendor Demos / HiQ / HiQ•Help / HiQ•Help.rsrc / PICT_10805_Optimization pg 5.png < prev    next >
Portable Network Graphic  |  1992-04-28  |  45KB  |  816x1056  |  8-bit (256 colors)
Labels: chat room | crt screen | dialog box | monitor | reckoner | sky
OCR: OPTIMIZER SAMPLE CRIPTS Example 2.Determine the minimum of the function: + 2x2 2X1X2 2x X2- X 3+ 3 and its location The exact value of the minimum is 1.6875; the optimizing vector is (-3/4 1/4 1/2). Problem Script: Nelder Mead: project optFct; local tolerance; tolerance 1.0e-10 initVector {0,0,0}; function optFct(x) return x[1] 2*x[2]^2 + x[3]^2 2*x[1]*x[2] 2*x[1] 2.5*x[2] x[3] 3); end function; [minValue optVector optlterations] OptNelderMead optFct, initVector tolerance); SCRIPTS Jocation